﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NET.Generic
{
    public class GenericMethod
    {
        public static List<E> BuildList<E>(params E[] items)
        {
            var list = new List<E>();
            for(var i = 0; i < items.Length; i++)
            {
                list.Add(items[i]);
            }
            return list;
        }
    }
}
